<script>

//client details
var myParams = {cmd: "getdata",templ: "projectdetail.xsl",ctltype: "PROJECT",filter: " and ([xmlData].value('(genxml/hidden/itemid)[[1]]', 'nvarchar(10)') = '[<tag type="valueof" xpath="genxml/hidden/projectid" />]')"};
var cmdget = '/desktopmodules/Nbright/NBrightEspace/XmlConnector.ashx?' + jQuery.param(myParams);
$.fn.initlist('.projectdetails', '', cmdget);

$(document).ready(function () {
	if ($('.projectid').val() == '') $('a[[id*="cmdGoProject"]]').hide();
}); 


</script>	

[<tag id="ProjectID" class="projectid" type="hidden" value="" />]
[<tag id="projectref" type="hidden" value="" />]
[<tag id="projectname" type="hidden" value="" />]
[<tag id="liveurl" type="hidden" value="" />]
<div class="nwb-button-container">
<br/>
<div class="nwb-button-group">
[<tag id="cmdGoProject" type="linkbutton" cssclass="nwb-button icon search" resourcekey="General.viewproject" commandname="goproject" commandargument="ItemID" />]
[<tag id="cmdSelectProject" type="linkbutton" cssclass="nwb-button icon add hidewhencomplete" resourcekey="General.lblSelectProject"  commandname="SelectProject" commandargument="ItemID" />]
</div>
</div>
<div class="projectdetails"></div>

